//
//  BCProjectModel.m
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/11/21.
//  Copyright © 2018年 guoshikeji. All rights reserved.
//

#import "BCProjectModel.h"

@implementation BCProjectModel

- (NSString *)repay {
    return _repay?[_repay stringByAppendingString:@"%"]:@"";
}





//测试数据
+ (NSMutableArray *)testOptData {
    NSMutableArray *data = [NSMutableArray array];
    for (int i=0; i<2; i++) {
        BCProjectModel *model = [BCProjectModel new];
        model.project_name = @"景泰以太坊产业C区";
        model.repay = @"4.90%";
        [data addObject:model];
    }
    return data;
}
//测试数据
+ (NSMutableArray *)testData {
    NSMutableArray *data = [NSMutableArray array];
    for (int i=0; i<8; i++) {
        BCProjectModel *model = [BCProjectModel new];
        model.project_name = @"华夏比特币D盘";
        model.repay = @"5.00%";
        [data addObject:model];
    }
    return data;
}

@end
